namespace FaultDiagnosisSystem.Models.DataModels
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("tblTurbineParam")]
    public partial class tblTurbineParam
    {
        [Key]
        [Column(Order = 0)]
        [StringLength(50)]
        public string windFarmId { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(50)]
        public string turbineId { get; set; }

        [Required]
        [StringLength(50)]
        public string turbineName { get; set; }

        public decimal lng { get; set; }

        public decimal lat { get; set; }

        [Required]
        [StringLength(50)]
        public string model { get; set; }

        [Required]
        [StringLength(50)]
        public string vender { get; set; }

        public decimal powerRating { get; set; }

        public decimal lifeCycleDesign { get; set; }

        public DateTime dateOnBoard { get; set; }

        public bool loadMonitor { get; set; }
    }
}
